<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<base href="<%=basePath%>" >
</head>
<body >
	
	<script type="text/javascript" src="<%=basePath%>scripts/system/mail/receive.js"></script>	
	
	<div class="easyui-layout" fit="true" style="background-color: #FFFFFF">
	
		<div region="north" border="false" class="borsty-b">
				<div id="mailPanel">
					<a id="viewMailBtn" href="javascript:void(0);" class="easyui-linkbutton" onclick="openMailWindow('view')">浏览</a>
					<a id="delMailBtn" href="javascript:void(0);" class="easyui-linkbutton" onclick="openMailWindow('remove')">删除</a>
					<a id="closeMailBtn" href="javascript:void(0);" class="easyui-linkbutton" onclick="curTabClose();">关闭</a>
				</div>
		</div>
		
		<div region="center" border="false">
			<div id="mailDataGrid" fit="true"></div>
		</div>
		
	</div>
	
	
	<div id="mailWindow" style="background-color: #ffffff">
		<div id="mailPanel2" style="border-bottom: 1px #aed0ea solid">
			<a id="close" href="javascript:void(0);" class="easyui-linkbutton" onclick="closeWindow()">关闭</a>
		</div>
		<table border="0" width="100%" align="center" cellpadding="5px" cellspacing="5px" style="background-color: #ffffff">
			<tr>
				<td style="background-color: #eff5fb; width: 90px; padding-left: 15px">
					主　题：
				</td>
				<td style="background-color: #eff5fb; text-align: left; padding-left: 15px">
					<span id="mailTitle"></span>
				</td>
			</tr>
			<tr>
				<td style="background-color: #eff5fb; width: 90px; padding-left: 15px">
					发件人：
				</td>
				<td style="background-color: #eff5fb; text-align: left; padding-left: 15px"">
					<span id="mailSendName"></span>
				</td>
			</tr>
			<tr>
				<td style="background-color: #eff5fb; width: 90px; padding-left: 15px">
					时　间：
				</td>
				<td style="background-color: #eff5fb; text-align: left; padding-left: 15px">
					<span id="mailDate"></span>
				</td>
			</tr>
			<tr>
				<td style="background-color: #eff5fb; width: 90px; padding-left: 15px">
					收件人：
				</td>
				<td style="background-color: #eff5fb; text-align: left; padding-left: 15px"">
					<span id="mailReceiveNames"></span>
				</td>
			</tr>
			<tr>
				<td colspan="2" style="background-color: #eff5fb;">
					<span id="mailContent"></span>
				</td>
			</tr>
			
			<tr>
				<td colspan="2" style="background-color: #eff5fb; padding-left: 15px">
					附　件：
				</td>
			</tr>
			<tr>
				<td colspan="2" style="background-color: #eff5fb; padding-left: 15px">
					<a href="#">附件名</a>
				</td>
			</tr>
		</table>
	</div>
	
	<input type="hidden" id="mailType" name="mailType" value="${type}">
</body>
</html>